Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove outlook protection for miro deep link #664

Closed
wants to merge 1 commit into from

Conversation

splagemann
Copy link
Contributor

TLDR

This will remove the automatically ingested outlook protection link when deep linking into Miro.

More Detail

MS is automatically changing links in MS Teams or Outlook and prefixes them with a safety protection check. This basically destroys deep links into any application that is not a browser. I know that simply removing the link part is not a very clean solution, but by using the miroapp protocol handler and checking for miro.com as part of the url I think it should be ok from a security perspective.

There is maybe a more general solution for other deeplinks and/or other safety protection urls, so consider this as a first idea to address this problem.

This would solve one of my daily use-cases, but I do understand if this is considered a workaround and shouldn't go into this application.

Regards

@will-stone
Copy link
Owner

Hi @splagemann 👋🙂

Hmmm, I'm not sure. Have you tried Finicky?

I have Finicky set up to handle something similar on my work machine, but for Teams links:

module.exports = {
  defaultBrowser: "Browserosaurus",
  handlers: [
    /**
     * Microsoft Teams
     */
    {
      match: finicky.matchHostnames(["teams.microsoft.com"]),
      browser: "com.microsoft.teams",
      url: ({ url }) => ({ ...url, protocol: "msteams" }),
    },
  ],
};

@splagemann
Copy link
Contributor Author

Hey, thanks for the answer. Interesting, so you're basically chaining those tools. Will experiment with that! Thanks

@will-stone
Copy link
Owner

Yep! I basically set Finicky as my default browser, and then B as Finicky's default 🤓 That way I get the rules engine and the UI selector.

@splagemann
Copy link
Contributor Author

Works for me! Closed this PR

@splagemann splagemann closed this Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants